package com.memorypalace.study.mapper;

import java.util.List;

import com.memorypalace.pojo.CardStudyRecord;
import com.memorypalace.pojo.StudyList;

public interface CardStudyRecordMapper {
	//添加卡片学习记录，通过csr对象对卡片学习记录进行添加
	public Boolean insertCardStudyRecord(CardStudyRecord cardStudyRecord);
	
	Integer queryStudySequence(String studySchemeId);
	
	Integer getTodayNewCardStudyCount(StudyList studyList);
	
	Integer getTodayReviewCardStudyCount(StudyList studyList);
	
	List<CardStudyRecord> getCardStudyRecordInThreeDays(String userId);
	
	Boolean setStudyListIdNull(String studyListId);
	
	Boolean deleteCardStudyRecordByCardId(String cardId);
	
	
}
